package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 通行记录 实体类
 *
 * @author Uchihashiamu
 */
@Data
@TableName("botech_visitor_pass_record")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "VisitorPassRecord对象")
public class VisitorPassRecordEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 访客id
	 */
    @Schema(description = "访客id")
    @TableField("visitor_id")
	private Long visitorId;
	/**
	 * 访客名称
	 */
    @Schema(description = "访客名称")
    @TableField("visitor_name")
	private String visitorName;
	/**
	 * 通行照片
	 */
    @Schema(description = "通行照片")
    @TableField("visitor_pass_img")
	private String visitorPassImg;
	/**
	 * 访客底图
	 */
    @Schema(description = "访客底图")
    @TableField("visitor_base_img")
	private String visitorBaseImg;
	/**
	 * 是否是陌生人
	 */
    @Schema(description = "是否是陌生人")
    @TableField("is_stranger")
	private Integer isStranger;
	/**
	 * 经过的资产id
	 */
    @Schema(description = "经过的资产id")
    @TableField("pass_asset_id")
	private Long passAssetId;
	/**
	 * 经过的设备id
	 */
    @Schema(description = "经过的设备id")
    @TableField("pass_machine_id")
	private Long passMachineId;
	/**
	 * 经过的时间
	 */
    @Schema(description = "经过的时间")
    @TableField("pass_time")
	private String passTime;
	/**
	 * lng坐标
	 */
    @Schema(description = "lng坐标")
    @TableField("lng")
	private String lng;
	/**
	 * lat坐标
	 */
    @Schema(description = "lat坐标")
    @TableField("lat")
	private String lat;
	/**
	 * 省代码
	 */
    @Schema(description = "省代码")
    @TableField("province_code")
	private String provinceCode;
	/**
	 * 城市代码
	 */
    @Schema(description = "城市代码")
    @TableField("city_code")
	private String cityCode;
	/**
	 * 区县代码
	 */
    @Schema(description = "区县代码")
    @TableField("area_code")
	private String areaCode;
	/**
	 * 街道id
	 */
    @Schema(description = "街道id")
    @TableField("street_code")
	private String streetCode;
	/**
	 * 第三方code
	 */
    @Schema(description = "第三方code")
    @TableField("third_code")
	private String thirdCode;

}
